import { defineStore } from "pinia";

export const useUserInfoStore = defineStore("userInfoStore", {
  state: () => {
    return { userToken: "" };
  },
  actions: {
    setUserToken(payload: string) {
      this.userToken = payload;
    },
  },
  getters: {
    getUserToken(): string {
      return this.userToken;
    },
  },
});
